package com.cn.shiro_jwt_redis.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cn.shiro_jwt_redis.pojo.Login;
import org.springframework.stereotype.Component;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: 张坤鹏
 * @Date: 2021/08/04/10:16
 * @Description:
 */
@Component
public interface LoginMapper extends BaseMapper<Login> {

    Login checkUsername(String username);

    Login login(Login login);
}
